#设置源文件
set(APP_SOURCES
        main.c
)

#创建可执行文件
add_executable(server ${APP_SOURCES})

#连接库
target_link_libraries(server
        PRIVATE
        core_server
        protocols
        thread_pool
        connection_manager
        device_manger
        memory_pool
        Threads::Threads
)

#设置可执行文件名
set_target_properties(server PROPERTIES
        OUTPUT_NAME server
)